﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace Fdd.Aspen.Client.Infrastructure
{
    public class ViewModelException : Exception
    {
        public ViewModelException(string errorCode, string message) : this(errorCode, message, null)
        {
        }


        public ViewModelException(string errorCode, string message, Exception innerException) : base(message, innerException)
        {
            ErrorCode = errorCode;
        }


        public string ErrorCode { get; set; }
    }
}
